// Import any other script files here, e.g.:
// import * as myModule from "./mymodule.js";

import("./miner_dayadd.js")
import("./hook_shoothook.js")
import("./math.js")
import("./miner_gloweff.js")
import("./rope_rope_trans.js")
import("./miner_minerspwn.js")
import("./hook_hookgetMiner.js")
import("./UI_miner_leftBar_data_show.js")
import("./console_consoleinit.js")
import("./console_consoleaddmessage.js")
import("./miner_goto_nextday.js")
import("./tip_tip_window_init.js")
import("./tip_tip_window_show.js")
import("./miner_gamehint_hint_durabilit_zero.js")
import("./miner_day1hint.js")
import("./button2_button2type.js")
import("./readyshop_gominer.js")
import("./button2_button2showtext.js")
import("./readyshop_itembox_close_effect.js")
import("./readyshop_itembox_choose.js")
import("./readyshop_shop_click_buy_button.js")
import("./readyshop_ui_dataShow.js")
import("./miner_animation_hookcar_move.js")







runOnStartup(async runtime => {
    // Code to run on the loading screen.
    // Note layouts, objects etc. are not yet available.
    globalThis.runtime = runtime
    runtime.addEventListener("beforeprojectstart", () => OnBeforeProjectStart(runtime));
});

async function OnBeforeProjectStart(runtime) {
    // Code to run just before 'On start of layout' on
    // the first layout. Loading has finished and initial
    // instances are created and available to use here.
    runtime.addEventListener("tick", () => Tick(runtime));
}

function Tick(runtime) {
    // Code to run every tick
}
